package com.jianli.smart.core;

import java.util.Map;

import com.jianli.smart.aop.AopHelper;
import com.jianli.smart.core.utils.ClassUtil;

public final class HelperLoader {
	public static void init(){
		Class<?>[] classList = {
				ClassHelper.class,
				BeanHelper.class,
				ControllerHelper.class,
				AopHelper.class,
				IocHelper.class
		};
		for(Class<?> cls : classList){
			ClassUtil.loadClass(cls.getName());
		}
		Map<Class<?>, Object> map = BeanHelper.getBeanMap();
		for(Map.Entry<Class<?>, Object> entry:map.entrySet()){
			System.out.println(entry.getKey().getName() + ":" + entry.getValue());
		}
	}
}
